package com.kcht.sylyg08.service.model;

import com.kcth.sylyg08.entity.TaskType;

import java.io.Serializable;

/**
  *
  * @Package:        com.kcht.sylyg08.service.model
  * @Description:    料框动作详情类，用于接收ale中间件发来的料框信息，分发给下层业务逻辑使用
  * @Author:         lenovo
  * @CreateDate:     2019/5/15 11:07
 */
public class ContainerActionDetails implements Serializable {
    /** 料框编号 */
    private String containerId;
    /** 发现位置，出口，入口 */
    private String location;
    /** 动作时间，从ale中间发来的报告中获取 */
    private long actionTime;
    /**物料数量 */
    private int count;
    /**物料类型 */
    private String materialType;
    /**状态码，具体含义见相关业务逻辑 */
    private Integer rtnCode;
    /**任务类型 */
    private TaskType taskType;
    /**图号 */
    private String material;

    public String getContainerId() {
        return containerId;
    }

    public void setContainerId(String containerId) {
        this.containerId = containerId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public long getActionTime() {
        return actionTime;
    }

    public void setActionTime(long actionTime) {
        this.actionTime = actionTime;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public Integer getRtnCode() {
        return rtnCode;
    }

    public void setRtnCode(Integer rtnCode) {
        this.rtnCode = rtnCode;
    }

    public TaskType getTaskType() {
        return taskType;
    }

    public void setTaskType(TaskType taskType) {
        this.taskType = taskType;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    @Override
    public String toString() {
        return "ContainerActionDetails{" +
                "containerId='" + containerId + '\'' +
                ", location='" + location + '\'' +
                ", actionTime=" + actionTime +
                ", count=" + count +
                ", materialType='" + materialType + '\'' +
                ", material='" + material + '\'' +
                ", rtnCode=" + rtnCode +
                ", taskType=" + taskType +
                '}';
    }
}
